projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeb5cb2
)
Bug 670449-gtk/gtksettings.c: Fix build on Windows
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 5 Apr 2012 16:28:45 +0000
(
00:28
+0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 3 May 2012 03:54:15 +0000
(11:54 +0800)
On Windows, gtkwin32themeprivate.h is needed as
_gtk_win32_theme_get_default() is called on that platform to avoid C4013
warnings/errors (aka implicit declaration of ... for GCC folks).
gtk/gtksettings.c
patch
|
blob
|
history
diff --git
a/gtk/gtksettings.c
b/gtk/gtksettings.c
index b7fe416e64a2c1ae1476f13ee7e379ed2a90cc2b..871c5e9f92015ff5b6456d01090a997a21244130 100644
(file)
--- a/
gtk/gtksettings.c
+++ b/
gtk/gtksettings.c
@@
-45,6
+45,10
@@
#include "quartz/gdkquartz.h"
#endif
+#ifdef G_OS_WIN32
+#include "gtkwin32themeprivate.h"
+#endif
+
#undef GDK_DEPRECATED
#undef GDK_DEPRECATED_FOR
#define GDK_DEPRECATED